/**
 * 
 */
package com.robot.console.client.actions;

import com.go.core.Message;
import com.robot.console.client.common.ISingleClientAction;
import com.robot.console.config.CommendParams;

/**
 * @author argpunk
 * 
 */
public class EchoAction implements ISingleClientAction
{
	@Override
	public Message prepareMessage(String args)
	{
		Message sendMessage = new Message(CommendParams.ECHO);
		sendMessage.setAttribute(CommendParams.ECHO, args);
		return sendMessage;
	}

	@Override
	public String getName()
	{
		return CommendParams.ECHO;
	}
}
